package com.selfstudy.service;

import com.selfstudy.dto.StudentUserLoginDTO;
import com.selfstudy.dto.StudentUserRegisterDTO;
import com.selfstudy.entity.StudentUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.selfstudy.vo.StudentUserInfoVO;
import com.selfstudy.vo.StudentUserLoginVO;

import javax.security.auth.login.AccountNotFoundException;

/**
 * <p>
 * 学生用户表 服务类
 * </p>
 *
 * @author author
 * @since 2025-04-08
 */
public interface IStudentUserService extends IService<StudentUser> {

    StudentUserLoginVO login(StudentUserLoginDTO studentUserLoginDTO) throws AccountNotFoundException;

    void register(StudentUserRegisterDTO studentUserRegisterDTO);

    StudentUserInfoVO info(Integer id);
}
